<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>用户关联</title>
		<meta http-equiv="X-UA-Compatible" content='IE=edge' />
		<%@ include file="/inc/info.inc" %>
		<script type="text/javascript" src="js/userBind.js"></script>
	</head>

	<body>
		<div id="agentList" class="hd_page">
			<div><%@ include file="../manage/heading.jsp"%></div>
			<div><%@ include file="../manage/hd_menu.jsp"%></div>
			<div class="content">
				<div id='grid'></div>
				<nav id='navbar' class="navbar navbar-default" role="navigation">
					<div class="top_item_search">
						<input id="masterUser" type="text" style="width: 180px; display:inline;" class="form-control" placeholder="输入主代理用户名"/>
						&nbsp;&nbsp;
						<input id="slaveUser" type="text" style="width: 180px; display:inline;" class="form-control" placeholder="输入从代理用户名"/>
						&nbsp;&nbsp;
						<input id="note" type="text" style="width: 180px; display:inline;" class="form-control" placeholder="备注"/>
						&nbsp;&nbsp;
						<button class="btn btn-success" onclick="bind(true)">关联</button>
						&nbsp;&nbsp;
						<button class="btn btn-success" onclick="bind(false)">解除关联</button>
						<br/>
						<div style="line-height: 36px;">
						注：只能输入一个主代理用户名，从代理可以一次多个，用英文","或中文“，”号分开用户名
						</div>
						<div style="clear: both;"></div>
					</div>
					<div id='alertdiv'></div>
				</nav>
			</div>
		</div>
	</body>
</html>